import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/yb_chinese_text/yb_chinese_text.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuSubPage/YBMiShuTongCommonSubPage.dart';

class YBLvSiTongPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
        child: Scaffold(
          appBar: AppBar(
            elevation: 0,
            title: Text(
              YBChineseText.workTaiZhuanShuYingYongLvSiTongTitle,
              style: YBTextStyle.TextStyle30313320Medium,
            ),
          ),
          body: SingleChildScrollView(
            child: Column(
                children: [
                  Container(
                    height: YBTextStyle.adapterSize15,
                  ),
                  Container(
                    height: YBTextStyle.adapterSize58,
                    color: YBColor.white,
                    child: InkWell(
                      child: YBMiShuTongCommonSubPage(imageStr: 'mishu_shangjikuImage',titleStr: YBChineseText.workTaiShangJiKuTitle,),
                      onTap: (){
                        YBApplication.router.navigateTo(context, '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangJikuPage?type=2');
                      },
                    )
                  ),
                  Container(
                    height: YBTextStyle.adapterSize16,
                  ),
                  Container(
                    height: YBTextStyle.adapterSize58,
                    color: YBColor.white,
                    child: InkWell(
                      child: YBMiShuTongCommonSubPage(imageStr:'mishu_shangjikuManagerImage',titleStr: YBChineseText.workTaiYiHuoGuanLiTitle,),
                      onTap: (){
                        YBApplication.router.navigateTo(context,'/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangjiManagerPage?type=2');
                      },
                    ),
                  ),
                ],
            ),
          ),
        ),
    );
  }
}
